<template>
  <div>
    <h2>子组件</h2>
  </div>
</template>

<script lang="ts" setup>
import axios from "axios"

const { data } = await axios.get('https://api.uomg.com/api/rand.avatar?sort=男&format=json')
console.log(data)
</script>

<style lang="scss" scoped></style>
